﻿using Business.BookManagement.Dto;
using Business.PurchManagement.Dto;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Business.PurchManagement
{
    public interface IPurchAppService : IApplicationService
    {
        Task<PurchDto> Get(Guid id);
        Task<PagedResultDto<PurchDto>> GetAll(GetPurchInputDto input);
        Task<PagedResultDto<PurchDto>> GetAlls(GetPurchInputDto input);
        Task<PagedResultDto<AllInfo>> GetAllse(GetPurchInputDto input);
        Task<PurchDto> CreateOrUpdate(CreateOrUpdatePurchDto input);
        Task<PurchDto> CreateOrUpdates(CreateOrUpdatePurchDto input);
        Task Delete(List<Guid> ids);
    }
}
